/// Provides the image type.
#include <pryn.h>

PrynLibraryEntryPoint (PrynLibrary *library)
{
	PrynType *type;
	PrynResult result = 0;
	
	prynSetLibraryNameLiteral (library, "Image type");
	prynSetLibraryDescriptionLiteral (library, "This provides the Image type, which is a two-dimensional array of colors and potentially other data.");
	
	result = prynCreateType (library, &type, prynStringLiteral ("Pryn.Image"));
	if (result < 0) return result;
	
	prynSetTypeNameLiteral (type, "Image");
	prynSetTypeDescriptionLiteral (type, "A two-dimensional array of colors.");	
	
	return result;
}
